package com.kajespero.model.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.kajespero.model.annotation.enums.RelationType;

@Retention(RetentionPolicy.RUNTIME)
@Target(value={ElementType.FIELD})
public @interface MappedValue {
	
	public Class<?> type();
	
	public RelationType relationType() default RelationType.MANY_TO_ONE;
	
	public String mappedBy();
	
}
